#if !defined(ERROR_BASE_H_)
#define ERROR_BASE_H_

#include <string>

#ifdef WIN32
#include <Windows.h>
#include "config_win32.h"

/*extern "C"*/ std::string GetErrorText( DWORD dwLastError );
#endif

#ifdef linux
#include "config_linux.h"
#endif


inline char* GetErrMsg( SINT32 errnum )
{
	return strerror( errnum );
}

#endif

